/*
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

#ifndef EPUB_STYLE_H_
#define EPUB_STYLE_H_

#include <boost/shared_ptr.hpp>
#include <ut_vector.h>
#include <ut_hash.h>


class EPUB_Style;
typedef boost::shared_ptr<EPUB_Style> EPUB_Shared_Style;

#include "EPUB_Element.h"
/**
 * Class that represents style of the EPUB document
 */
class EPUB_Style
{
public:
	EPUB_Style(const UT_UTF8String &name);

	UT_UTF8String getName() const;
	UT_GenericStringMap<UT_UTF8String*> &getAttributes();

	void setAttribute(const UT_String &attribute, UT_UTF8String *value);
private:
	/**
	 * Style attributes
	 */
	UT_GenericStringMap<UT_UTF8String*> m_attributes;

	/**
	 * Style name
	 */
	UT_UTF8String m_name;
};

#endif /* EPUB_STYLE_H_ */
